package com.fs.common.baseMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.common.pojo.Role;
import com.fs.common.pojo.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ACE
 * @desc 用户角色mapper
 * @creationTime 2019-04-03 22:13
 * @projectName weixinframe
 * @packageName com.fs.base.mapper
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<Role> findRoleByUserId(@Param("id") String id);

    List<UserRole> findByUserId(@Param("id") String id);
}
